<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@page import="operate.FormOperate"%>

<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	String id = request.getParameter("id");
	String cid = request.getParameter("cid");
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> 
	<head>
		<title></title>
		<link rel="StyleSheet" href="<%=basePath %>form/css/table.css" type="text/css" />
				<link rel="StyleSheet" href="<%=basePath %>form/css/validate.css" type="text/css" />
		<script type="text/javascript" src="<%=basePath %>form/js/jquery-1.4.2.min.js"></script>
		<script type="text/javascript" src="<%=basePath %>form/js/easy_validator.pack.js"></script>
	</head>
	<body>
	<form action="<%=basePath%>servlet/FormServlet?method=updateData" method="post">
	<input type="hidden" name="cid" value="<%=cid %>">
	<input type="hidden" name="id" value="<%=id %>">
	<table class="TableBlock" align="center">
	<%=	FormOperate.createUpdateForm(cid,id)%>
	<tr><td colspan="2"><input type="submit" value="提交">
	<input type="reset" value="取消">
	<input type="reset" value="返回"></td></tr>
	</table>
	</form>
	</body>
</html>
